package com.shutong.springboot;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Configuration
@ComponentScan // 这里是会去扫描添加了注解的类的那个包，没有写包路径，默认添加注解的类的包路径（user model下的 com.shutong.user）
@Import(ShuTongImportSelect.class) // import 标签导入类
public @interface ShuTongSpringBootApplication {

}
